Exercise capacity test in virtual reality